projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5009c69
)
Quiet a compiler warning
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 10 Jan 2018 12:35:46 +0000
(07:35 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 10 Jan 2018 12:35:46 +0000
(07:35 -0500)
Avoid this warning the other way, without bumping the libvulkan
dependency.
gdk/gdkvulkancontext.c
patch
|
blob
|
history
diff --git
a/gdk/gdkvulkancontext.c
b/gdk/gdkvulkancontext.c
index 8bfbd80246d89809f70b0c772371bd289c9a3b0e..1c4e7906b0519aee8012ace294214409903a757e 100644
(file)
--- a/
gdk/gdkvulkancontext.c
+++ b/
gdk/gdkvulkancontext.c
@@
-93,7
+93,7
@@
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GdkVulkanContext, gdk_vulkan_context, GDK_TYPE
const char *
gdk_vulkan_strerror (VkResult result)
{
- switch (result)
+ switch (
(int)
result)
{
case VK_SUCCESS:
return "Command successfully completed.";